package com.turing.post.organization.util;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

/**
 * @author zxp
 * @Dec 20, 2012
 */
@Remote
@Local
public interface MerchantBranchBusiness {
	/**
	 * 新增商户机构
	 * 
	 * @param webInput 日志记录对象
	 * @param merchantBranch 商户分支机构
	 * @throws PCPSApplicationException
	 */
	public void insertMerchantBranchInfo(PCPSWebInput webInput,
			MerchantBranch merchantBranch) throws PCPSApplicationException;

	/**
	 * 修改商户机构
	 * 
	 * @param webInput 日志记录对象
	 * @param merchantBranch 商户分支机构
	 * @throws PCPSApplicationException
	 */
	public void updateMerchantBranchInfo(PCPSWebInput webInput,
			MerchantBranch merchantBranch) throws PCPSApplicationException;

	public void deleteMerchantBranch(PCPSWebInput webInput, String mrchNo)
			throws PCPSApplicationException;

	// /**
	// * @根据登录用户所属机构查询销售商分支机构
	// * @param operBranchNo
	// * @return
	// */
	// public List<OrganTreeList> getIssueBranchListByOperBranchNo(
	// String operBranchNo) throws PCPSApplicationException;

}
